﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace Ws.dto
{
    /// <summary>
    /// 封装 用于请求WS的数据的上行参数的Info节点：请求监控点 数据
    /// </summary>
    public class Request4MonitorData
    {
    }


    public class Info4MonitorData
    {
        [XmlElement(ElementName = "FSUID")]
        public string FSUID { set; get; }

        public DeviceList4MonitorData DeviceList { set; get; }

        public Info4MonitorData() { }

    }


    public class Values4Request
    {
        [XmlElement(ElementName = "DeviceList")]
        public DeviceList4MonitorData DeviceList { set; get; }

        public Values4Request() { }

    }

    public class DeviceList4MonitorData
    {
        [XmlElement(ElementName = "Device")]
        public List<Device4MonitorData> Device { set; get; }
         
        public DeviceList4MonitorData() { }

    }


    public class Device4MonitorData
    {
        [XmlAttribute(AttributeName = "ID")]
        public string IDAttribute { set; get; }

        [XmlElement(ElementName = "ID")]
        public List<string> IDElement { set; get; }

        public Device4MonitorData() { }
    }
    
     

}
